Imports System.Xml.Serialization
Imports System.ComponentModel
Imports Aricie.ComponentModel
Imports DotNetNuke.UI.WebControls
Imports System.Globalization

Namespace Aricie.DNN.Caching.Client

    <DefaultProperty("FriendlyName")> _
    <Serializable()> _
    Public Class CachingPortBasedHostInfo
        Inherits CachingClientHostInfo

        <Browsable(False)> _
        Public ReadOnly Property FriendlyName As String
            Get
                Return Me.Name & UIConstants.TITLE_SEPERATOR & Me.CachePort.ToString(CultureInfo.InvariantCulture)
            End Get
        End Property

        <XmlElement("cachePort")> _
            <Required(True)> _
            <SortOrder(1)> _
        Public Property CachePort() As Integer

    End Class
End Namespace